package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 特种设备主表Entity类
 *
 * @author wangyufeng
 * @date 2022/07/13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "ath_role_element_relationship")
public class RoleElementRelationshipEntity extends BasicFieldEntity implements Serializable {

    /**
     * 父id
     */
    private Long roleId;

    /**
     * 元素id
     */
    private Long elementId;
}